﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MusicPhotograph.VideoHelper;
using CatUtils.Utils.Currency.IoUtils;
using CatUtils.Utils.Helper;

namespace MusicPhotograph.UserView
{
    public partial class ImageMagickUserControl : UserControl
    {
        public ImageMagickUserControl()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            new ImageMagickHelper().CreateMoiveImg(new FileHelper().SelectFile(), textBox1.Text);
            new FloderHelper().OpenFloder(StaticValue.TempPath);
        }

        private void button2_Click(object sender, EventArgs e)
        {
            new VideoTool().CreateVideo();
        }
    }
}